4dd05b4a22e1edaabdcc508796339adc966d6568,vertx-mongo-client/src/test/java/io/vertx/ext/mongo/MongoClientTestBase.java,MongoClientTestBase,createDoc,#number#,674
Before Change
}
private JsonObject createDoc(int num) {
return new JsonObject().put("foo", "bar" + (num != -1 ? num : "")).put("num", 123).put("big", true).putNull("nullentry").
put("date", new JsonObject().put("$date", "2015-05-30T22:50:02Z")).
put("other", new JsonObject().put("quux", "flib").put("myarr",
new JsonArray().add("blah").add(true).add(312)));
After Change
}
private JsonObject createDoc(int num) {
return new JsonObject().put("foo", "bar" + (num != -1 ? num : "")).put("num", 123).put("big", true).putNull("nullentry").
put("arr", new JsonArray().add("x").add(true).add(12).add(1.23)).
put("date", new JsonObject().put("$date", "2015-05-30T22:50:02Z")).
put("other", new JsonObject().put("quux", "flib").put("myarr",
new JsonArray().add("blah").add(true).add(312)));